import request from "@/utils/request";

// 左侧banner图数据
export function getBannerDataApi() {
  return request({
    url: "/sys/home/getBannerData",
    method: "get",
  });
}

// 首页签到统计
export function getSignInCountApi() {
  return request({
    url: "/sys/home/getSignInCount",
    method: "get",
  });
}

// 数据总览
export function getOverviewApi() {
  return request({
    url: "/sys/home/overview",
    method: "get",
  });
}

// 首页考勤人数统计
export function getPersonNumApi() {
  return request({
    url: "/sys/home/getPersonNum",
    method: "get",
  });
}

// 工作流任务数统计
export function getTaskCountApi() {
  return request({
    url: "/sys/home/getTaskCount",
    method: "get",
  });
}

// 首页本月考勤情况
export function getClockSituationApi() {
  return request({
    url: "/sys/home/getClockSituation",
    method: "get",
  });
}

// 获取广告列表
export function getPCAdvertsApi() {
  return request({
    url: "/sys/home/getPCAdverts",
    method: "get",
  });
}
